package com.lu.model.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 用户角色关系更新
 * @Author: zhanglu
 * @Date: 2022/7/27 18:12
 */
@Data
public class UserRolesUpdateRequest {

  @NotNull(message = "请输入用户")
  private Long userId;

  @NotNull(message = "请选择角色")
  private List<Long> roleIds;

}
